package com.cos.studentsys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author cos
 * @since 2022-03-29
 */
public class RcStudent extends Model<RcStudent> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "student_id", type = IdType.AUTO)
    private Integer studentId;

    private Integer studentClassId;

    private String studentNumber;

    private String studentName;

    private String studentPassword;

    private String studentEmail;

    private Date studentBirthday;

    private Integer studentSex;

    private Date studentLastLoginTime;

    public Integer getStudentId() {
        return studentId;
    }

    public void setStudentId(Integer studentId) {
        this.studentId = studentId;
    }
    public Integer getStudentClassId() {
        return studentClassId;
    }

    public void setStudentClassId(Integer studentClassId) {
        this.studentClassId = studentClassId;
    }
    public String getStudentNumber() {
        return studentNumber;
    }

    public void setStudentNumber(String studentNumber) {
        this.studentNumber = studentNumber;
    }
    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }
    public String getStudentPassword() {
        return studentPassword;
    }

    public void setStudentPassword(String studentPassword) {
        this.studentPassword = studentPassword;
    }
    public String getStudentEmail() {
        return studentEmail;
    }

    public void setStudentEmail(String studentEmail) {
        this.studentEmail = studentEmail;
    }
    public Date getStudentBirthday() {
        return studentBirthday;
    }

    public void setStudentBirthday(Date studentBirthday) {
        this.studentBirthday = studentBirthday;
    }
    public Integer getStudentSex() {
        return studentSex;
    }

    public void setStudentSex(Integer studentSex) {
        this.studentSex = studentSex;
    }
    public Date getStudentLastLoginTime() {
        return studentLastLoginTime;
    }

    public void setStudentLastLoginTime(Date studentLastLoginTime) {
        this.studentLastLoginTime = studentLastLoginTime;
    }

    @Override
    protected Serializable pkVal() {
        return this.studentId;
    }

    @Override
    public String toString() {
        return "RcStudent{" +
            "studentId=" + studentId +
            ", studentClassId=" + studentClassId +
            ", studentNumber=" + studentNumber +
            ", studentName=" + studentName +
            ", studentPassword=" + studentPassword +
            ", studentEmail=" + studentEmail +
            ", studentBirthday=" + studentBirthday +
            ", studentSex=" + studentSex +
            ", studentLastLoginTime=" + studentLastLoginTime +
        "}";
    }
}
